package tech.aistar.corejava.day02;

/**
 * Created by 李雨昂 on 2019/7/16.
 */
public class GraphicsPrinting {
    public static void main(String[] args) {
        for(int i = 0;i < 22;i++){
            for(int j = 0;j < 22;j++){
                if(i == j - 10 || i - 10 == j || i == 10 - j || 10 - i == j){
                    System.out.print("#");
                }else{
                    System.out.print(" ");
                }
            }
            System.out.println();

        }
    }
}
